/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exception;

/**
 *
 * @author Vincent
 */
public class CartException extends Exception {

    private String message = "Opération illégale sur le caddie";

    public CartException(String string) {
        throw new UnsupportedOperationException(string);
    }

    public String getMessage() {
        //gizmo
        return this.message;
    }
}
